import { commonTableOptions } from '@/utils/util'

export const tableOption = function () {
  let self = this
  return {
    ...commonTableOptions,
    // height: self?.documentHeight - 450,
    searchMenuSpan: 18,
    menuWidth: 300,
    header: true,
    addBtn: true,
    addBtnText: '反馈',
    editBtn: false,
    delBtn: false,
    viewBtn: true,
    searchLabelWidth: 120,
    menu: true,
    column: [
      {
        label: '船舶名称',
        prop: 'p1',
        search: true,
        overHidden: true,
      },
      {
        label: '异常内容',
        prop: 'p2',
        overHidden: true,
      },
      {
        label: '反馈时间',
        prop: 'p3',
        overHidden: true,
        addDisplay: false
      },
      {
        label: '联系方式',
        prop: 'p4',
        overHidden: true,
      },
      {
        label: '管理员回复内容',
        prop: 'p5',
        addDisplay: false
      },
      {
        label: '截图',
        prop: 'p6',
        hide: true
      },
    ]
  }
}
